package io.renren.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.commons.tools.utils.DateUtils;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

/**
 * 访客
 *
 * @author liuyujun 384880231@qq.com
 * @since 3.0 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("work_visitor_appointment")
public class VisitorAppointmentEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 访客姓名
     */
    private String visitorName;
    /**
     * 访客数量
     */
    private Integer visitorCount;
    /**
     * 访客时间
     */
    private Date visitorTime;
    /**
     * 访客车牌
     */
    private String visitorPlate;
    /**
     * 所属者
     */
    private String owner;
    /**
     * 是否进来
     */
    private Boolean intoVillage;
    /**
     * 进来时间
     */
    private Date intoTime;
    /**
     * 放行人ID
     */
    private Long greenLighter;
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String creator;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
    /**
     * 逻辑删除
     */
    private Boolean logicalDelete;
}